package controler.algorithms;

import java.util.LinkedList;

public class IntensityExtraction extends Extraction {

	/**
	* {@inheritDoc}
	*/
	@Override
	public LinkedList<double[]> extract(LinkedList<double[]> dataSet) {
		
		LinkedList<double []> result = new LinkedList<double []>();
		
		for(double [] tab: dataSet)
		{
			double [] temp = new double[5];
			
			temp[0] = tab[5];
			result.add(temp);
		}
		
		return result;
	}	
}
